package xyz.acproject.danmuji.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import xyz.acproject.danmuji.http.HttpUserData;

@RestController
public class FaceController {

	@GetMapping("/face")
	public String getFaceByUid(@RequestParam("uid") String uid) {
		return HttpUserData.httpGetUserFaces(Integer.valueOf(uid));
	}
}
